package com.shuai.user.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.shuai.user.config.LongToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class UserSessionVO implements Serializable {

    @JsonSerialize(using = LongToStringSerializer.class)
    private Long sessionId;


    private String userId;


    private String sessionName;


    private Date createTime;


    private Date updateTime;

    /**
     * 聊天的类型，区分：普通聊天0、智能分析1、智能阅读2
     */
    private Integer type;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}